from django.db import models

# Create your models here.
from demo_common_module.models import BaseModel


class UserActionLog(BaseModel):
    user_id = models.CharField(max_length=50, blank=True, verbose_name="用户id")
    user_name = models.CharField(max_length=50, blank=True, verbose_name="用户名")
    request_type = models.CharField(max_length=6, blank=True, verbose_name="请求类型")
    path = models.CharField(max_length=50, blank=True, verbose_name="url")
    path_desc = models.CharField(max_length=50, blank=True, verbose_name="路径的描述")

    class Meta:
        db_table = "tb_user_action_log"
